package com.lz.conf;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 * dsd..
 *
 * @author Lizhong
 * @date 2020/5/7
 */
@Configuration
public class QuerydslConfig {

    @Autowired
    @PersistenceContext
    private EntityManager entityManager;

    // @Bean
    // public JPAQueryFactory queryFactory(){
    //     return new JPAQueryFactory(entityManager);
    // }

}